package org.gdpi.boot1.pojo;

public class Product {
   private String title;
   private Double price;
   private Integer num;

   //Alt 和  Insert，加上setter和getter方法，加上同String方法

   public String toString() {
      return "Product{" +
              "title='" + title + '\'' +
              ", price=" + price +
              ", num=" + num +
              '}';
   }

   public String getTitle() {
      return title;
   }

   public void setTitle(String title) {
      this.title = title;
   }

   public Double getPrice() {
      return price;
   }

   public void setPrice(Double price) {
      this.price = price;
   }

   public Integer getNum() {
      return num;
   }

   public void setNum(Integer num) {
      this.num = num;
   }


}
